const serviceCommon = require('../../util/serviceCommon');
const caseDao = require('../dao/caseDao');

const service = {
    handleGetCase: async () => {
        let result;
        result = await serviceCommon.getListMethod(caseDao, 'handleGetCase');
        return result;
    },
    handleGetCaseDetail: async (data) => {
        let result;
        result = await serviceCommon.getListMethod(caseDao, 'handleGetCaseDetail', data);
        return result;
    }
};
module.exports = service;